#include <iostream>
using namespace std;
int func(int a)
{
    int b = 0;
    static int c = 4;
    b++;
    c--;
    return (a + b + c);
}
int main()
{
    int a = 2;
    for (int j = 0; j < 2; j++)
    {
        cout << func(a + j) << endl;
    }
    return 0;
}